package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class Gameapplyrecord implements Serializable {
    private String garno;

    private String grno;

    private String cno;

    private String garnumber;

    private String gardescribe;

    private Integer garstate;

    private static final long serialVersionUID = 1L;

    public String getGarno() {
        return garno;
    }

    public void setGarno(String garno) {
        this.garno = garno;
    }

    public String getGrno() {
        return grno;
    }

    public void setGrno(String grno) {
        this.grno = grno;
    }

    public String getCno() {
        return cno;
    }

    public void setCno(String cno) {
        this.cno = cno;
    }

    public String getGarnumber() {
        return garnumber;
    }

    public void setGarnumber(String garnumber) {
        this.garnumber = garnumber;
    }

    public String getGardescribe() {
        return gardescribe;
    }

    public void setGardescribe(String gardescribe) {
        this.gardescribe = gardescribe;
    }

    public Integer getGarstate() {
        return garstate;
    }

    public void setGarstate(Integer garstate) {
        this.garstate = garstate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Gameapplyrecord other = (Gameapplyrecord) that;
        return (this.getGarno() == null ? other.getGarno() == null : this.getGarno().equals(other.getGarno()))
            && (this.getGrno() == null ? other.getGrno() == null : this.getGrno().equals(other.getGrno()))
            && (this.getCno() == null ? other.getCno() == null : this.getCno().equals(other.getCno()))
            && (this.getGarnumber() == null ? other.getGarnumber() == null : this.getGarnumber().equals(other.getGarnumber()))
            && (this.getGardescribe() == null ? other.getGardescribe() == null : this.getGardescribe().equals(other.getGardescribe()))
            && (this.getGarstate() == null ? other.getGarstate() == null : this.getGarstate().equals(other.getGarstate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getGarno() == null) ? 0 : getGarno().hashCode());
        result = prime * result + ((getGrno() == null) ? 0 : getGrno().hashCode());
        result = prime * result + ((getCno() == null) ? 0 : getCno().hashCode());
        result = prime * result + ((getGarnumber() == null) ? 0 : getGarnumber().hashCode());
        result = prime * result + ((getGardescribe() == null) ? 0 : getGardescribe().hashCode());
        result = prime * result + ((getGarstate() == null) ? 0 : getGarstate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", garno=").append(garno);
        sb.append(", grno=").append(grno);
        sb.append(", cno=").append(cno);
        sb.append(", garnumber=").append(garnumber);
        sb.append(", gardescribe=").append(gardescribe);
        sb.append(", garstate=").append(garstate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}